//
//  AlertControllerHelper.h
//  CedarFinancePH
//
//  Created by lshenrong on 2018/4/6.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <TYAlertController.h>

@interface AlertControllerHelper : NSObject

+ (UIAlertController *)callPhoneWithContent:(NSString *)content handler:(void (^)(void))handelr;

+ (UIAlertController *)alertWithTitle:(NSString *)title
                              content:(NSString *)content
                      leftActionTitle:(NSString *)leftTitle
                     rightActionTitle:(NSString *)rightTitle
                          leftHandler:(void (^)(void))leftHanlder
                         rightHandler:(void (^)(void))rightHanlder;

+ (TYAlertController *)TYAlertControllerWithView:(UIView *)view;
+ (TYAlertController *)TYAlertControllerWithStyleActionSheet:(UIView *)view;


@end
